package com.example.thirdstage_project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.thirdstage_project.entity.Unit;
import com.example.thirdstage_project.entity.User;

import java.util.List;

public interface UnitService extends IService<Unit> {
    /**
     * 分页
     */
    IPage<User> getPage(int currentPage, int pageSize);

    int selectuid(String password);

    boolean updatePassword(String password,int uid);

    List<Unit> select();

    String search(String name);

//    boolean updateUnit(Unit unit);
}
